package com.niiwoo.civet.user.service;

import com.niiwoo.civet.user.enums.LibraLoanLimitEnum;
import com.niiwoo.civet.user.enums.ProductTypeEnum;

import java.util.Date;

/**
 * 天秤借款限制
 * Created by dell on 2018/4/21.
 * Description：civet-app
 */
public interface LibraLoanLimitDubboService {

    /**
     * 添加天秤借款限制
     * @param userId
     * @param libraLoanLimitEnum
     * @param productTypeEnum
     * @param limitDays
     * @param hitDate
     * @return
     */
    int addLibraLoanLimit(String userId, LibraLoanLimitEnum libraLoanLimitEnum, ProductTypeEnum productTypeEnum, Integer limitDays, Date hitDate);
}
